package com.zhihuishu.micro.course.openapi.course.dto;

import java.util.Date;
/**
 * 
 * @author shehuaiyan
 * @date 2016年10月11日 上午9:25:00
 * @modifyNote
 * @version 1.0
 */
public class CourseDataOpenDto implements java.io.Serializable {

	// Fields
	private static final long serialVersionUID = 1L;
	private Integer id;// 主键
	private String name;// 资料名称
	private Long userId;// 用户ID
	private String userName;// 用户名
	private Integer userRole;// 用户角色
	private Integer isSharedDataStore ;// 是否分享
	private Integer isSharedCourse ;// 只针对学生（0否、1是）
	private String dataLabel;// 资料标签
	private String introduction;// 资料介绍
	private String url;// 地址
	private String thumbnailUrl;// 缩略图
	private Long size;// 长度
	private String suffix;// 后缀
	private String speaker;// 主讲人ID
	private String dataType;// 资料类型(1文档2图片3视频)
	private String videoSize;//视频时长(秒)
	private Integer interfaceDataId;// 数据ID（远程接口获取）、
	private Integer accessNum ;// 访问次数
	private Date createTime;// 创建时间
	private Date updateTime;// 更新时间
	private String timeLength;//视频时长
	private Integer isDelete ;// 删除状态0否，1是.默认0
    private Integer bbsId;
		
	// Constructors
	/** default constructor */
	public CourseDataOpenDto() {
	}
	
	public CourseDataOpenDto(Integer id) {
		this.id = id;
	}

	/** minimal constructor */
	public CourseDataOpenDto(Integer folderId, String name) {
		this.name = name;
	}

	/** full constructor */
	public CourseDataOpenDto(String name, Long userId, String userName, Integer userRole,
			Integer isSharedDataStore, Integer isSharedCourse, String dataLabel,
			String introduction, String url, String thumbnailUrl, Long size,
			String suffix, String speaker, String dataType,
			Integer interfaceDataId, Integer accessNum, 
			Date createTime, Date updateTime, Integer isDelete, Integer bbsId) {
		this.name = name;
		this.userId = userId;
		this.userName = userName;
		this.userRole = userRole;
		this.isSharedDataStore = isSharedDataStore;
		this.isSharedCourse = isSharedCourse;
		this.dataLabel = dataLabel;
		this.introduction = introduction;
		this.url = url;
		this.thumbnailUrl = thumbnailUrl;
		this.size = size;
		this.suffix = suffix;
		this.speaker = speaker;
		this.dataType = dataType;
		this.interfaceDataId = interfaceDataId;
		this.accessNum = accessNum;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.isDelete = isDelete;
		this.bbsId = bbsId;
	}


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getUserRole() {
		return this.userRole;
	}

	public void setUserRole(Integer userRole) {
		this.userRole = userRole;
	}

	public Integer getIsSharedDataStore() {
		return this.isSharedDataStore;
	}

	public void setIsSharedDataStore(Integer isSharedDataStore) {
		this.isSharedDataStore = isSharedDataStore;
	}

	public Integer getIsSharedCourse() {
		return this.isSharedCourse;
	}

	public void setIsSharedCourse(Integer isSharedCourse) {
		this.isSharedCourse = isSharedCourse;
	}

	public String getDataLabel() {
		return this.dataLabel;
	}

	public void setDataLabel(String dataLabel) {
		this.dataLabel = dataLabel;
	}

	public String getIntroduction() {
		return this.introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getThumbnailUrl() {
		return this.thumbnailUrl;
	}

	public void setThumbnailUrl(String thumbnailUrl) {
		this.thumbnailUrl = thumbnailUrl;
	}
	
	public String getVideoSize() {
		return videoSize;
	}

	public void setVideoSize(String videoSize) {
		this.videoSize = videoSize;
	}

	public Long getSize() {
		return this.size;
	}

	public void setSize(Long size) {
		this.size = size;
	}

	public String getSuffix() {
		return suffix;
	}

	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}

	public String getSpeaker() {
		return this.speaker;
	}

	public void setSpeaker(String speaker) {
		this.speaker = speaker;
	}

	public String getDataType() {
		return this.dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public Integer getInterfaceDataId() {
		return this.interfaceDataId;
	}

	public void setInterfaceDataId(Integer interfaceDataId) {
		this.interfaceDataId = interfaceDataId;
	}

	public Integer getAccessNum() {
		return this.accessNum;
	}

	public void setAccessNum(Integer accessNum) {
		this.accessNum = accessNum;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public String getTimeLength() {
		return timeLength;
	}

	public void setTimeLength(String timeLength) {
		this.timeLength = timeLength;
	}
    
	public Integer getBbsId() {
		return bbsId;
	}

	public void setBbsId(Integer bbsId) {
		this.bbsId = bbsId;
	}

	@Override
	public String toString() {
		return "CourseDataOpenDto [id=" + id + ", name=" + name + ", userId=" + userId + ", userName=" + userName
				+ ", userRole=" + userRole + ", isSharedDataStore=" + isSharedDataStore + ", isSharedCourse="
				+ isSharedCourse + ", dataLabel=" + dataLabel + ", introduction=" + introduction + ", url=" + url
				+ ", thumbnailUrl=" + thumbnailUrl + ", size=" + size + ", suffix=" + suffix + ", speaker=" + speaker
				+ ", dataType=" + dataType + ", videoSize=" + videoSize + ", interfaceDataId=" + interfaceDataId
				+ ", accessNum=" + accessNum + ", createTime=" + createTime + ", updateTime=" + updateTime
				+ ", timeLength=" + timeLength + ", isDelete=" + isDelete + ", bbsId=" + bbsId + "]";
	}

    
	
	
}